﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HTTT.Utilities
{
    public class Constants
    {
        public const string FULLTEXT_SEARCH_VIDEO   = "exec [dbo].[sp_FB_FindVideo]";
        public const string ROLE_SUPER_ADMINISTRATOR = "SuperAdministrator";
        public const string ROLE_ADMINISTRATOR      = "Administrator";
        public const char DATA_CUT                  = '¤'; // CHUOI STRING DUNG DE CUT ACTIONDESCRIPTION
        public const char MEMBERSPLIT               = '|'; // CHUOI STRING DUNG DE CUT memeber
        public const string DEFAULT_PWD = "12345a@";



        // Ad flag
        public const int ADS_UF_ACCOUNT_DISABLE                     = 2;                            
        public const int ADS_UF_HOMEDIR_REQUIRED                    = 8;
        public const int ADS_UF_LOCKOUT                             = 16;
        public const int ADS_UF_PASSWD_NOTREQD                      = 32;
        public const int ADS_UF_PASSWD_CANT_CHANGE                  = 64;
        public const int ADS_UF_ENCRYPTED_TEXT_PASSWORD_ALLOWED     = 128;
        public const int ADS_UF_NORMAL_ACCOUNT                      = 512;
        public const int ADS_UF_INTERDOMAIN_TRUST_ACCOUNT           = 2048;
        public const int ADS_UF_WORKSTATION_TRUST_ACCOUNT           = 4096;
        public const int ADS_UF_SERVER_TRUST_ACCOUNT                = 8192;
        public const int ADS_UF_DONT_EXPIRE_PASSWD                  = 65536;
        public const int ADS_UF_MNS_LOGON_ACCOUNT                   = 131072;
        public const int ADS_UF_SMARTCARD_REQUIRED                  = 262144;
        public const int ADS_UF_TRUSTED_FOR_DELEGATION              = 524288;
        public const int ADS_UF_NOT_DELEGATED                       = 1048576;
        public const int ADS_UF_USE_DES_KEY_ONLY                    = 2097152;
        public const int ADS_UF_DONT_REQUIRE_PREAUTH                = 4194304;
        public const int ADS_UF_PASSWORD_EXPIRED                    = 8388608;
        public const int ADS_UF_TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION = 16777216;
        public const int ADS_UF_NO_AUTH_DATA_REQUIRED               = 33554432;
        public const int ADS_UF_PARTIAL_SECRETS_ACCOUNT             = 67108864;
    }
}
